html, body, #map {
    width: 100%;
    height: 100%;
}

html, body {
    margin: 0;
    padding: 0;
}

.map-search {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 2px;
    margin: 12px;
    overflow: hidden;
    z-index: 100;
}

.map-search fieldset {
    background: #ddd;
    border: none;
    padding: 10px;
    margin: 0;
    border-radius: 3px;
    z-index: 2;
    box-shadow: 1px 2px 1px rgba(0,0,0,.15);
}

.map-search input {
    display: block;
    border: none;
    width: 240px;
    border-radius: 3px;
    padding: 10px;
    margin: 0;
}

.map-search .listing {
    overflow: auto;
    max-height: 400px;
    background-color: #fff;
    width: 280px;
    border-radius: 0 0 2px 2px;
}

.map-search .listing > * {
    display: block;
    padding: 5px 10px;
    margin: 0;
}

.map-search .listing a {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #666;
    text-decoration: none;
    cursor: pointer;
}

.map-search .listing p {
    color: #444;
}

.map-search .listing a:last-child {
    border: none;
}

.map-search .listing a:hover {
    background: #eee;
}

.map-search .detail {
    margin-top: 10px;
    display: none;
    background: #fff;
    width: 280px;
    border-radius: 3px;
    z-index: 2;
    box-shadow: 1px 2px 1px rgba(0,0,0,.15);
}

.map-search .detail > * {
    padding: 5px 20px;
    margin: 0;
}

.detail .detail-mainName {
    font-size: 16px;
    line-height: 34px;
    background-color: #3385FF;
    color: #fff;
    border-radius: 3px 3px 0 0;
    padding-bottom: 0;
}

.map-search .detail .detail-area {
    font-size: 13px;
    line-height: 37px;
    color: #777;
    display: inline-block;
    padding-right: 0;
}

.detail-area::before {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-image: url('data1/区域.png');
    background-size: 20px 20px;
    content: '';
    vertical-align: text-bottom;
    margin-right: 3px;
}

.detail-address {
    font-size: 13px;
    line-height: 37px;
    color: #777;
    display: inline-block;
    padding-right: 0;
}

.detail-address::before {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-image: url('data1/地址.png');
    background-size: 20px 20px;
    content: '';
    vertical-align: text-bottom;
    margin-right: 3px;
}

.detail .detail-subName {
    font-size: 13px;
    line-height: 28px;
    background-color: #3385FF;
    color: #fff;
    padding-top: 0
}

.building-detail {
    margin-top: 12px;
    background: #fff;
    width: 280px;
    border-radius: 3px;
    z-index: 2;
    box-shadow: 1px 2px 1px rgba(0,0,0,.15);
    display: none;
}

.building-detail img {
    display: inline-block;
    vertical-align: top;
    height: 200px
}

.building-detail > * {
    padding: 5px 20px;
    margin: 0;
}

.building-img {
    text-align: center;
    margin: 10px auto;
    padding: 0;
    height: 200px;
    width: 200px;
}

.building-name {
    font-size: 14px;
    line-height: 45px;
    padding-bottom: 0;
    padding-top: 0;
    background-color: #3385ff;
    color: #fff;
    border-radius: 3px 3px 0 0;
}

.building-name::before {
    width: 24px;
    height: 24px;
    display: inline-block;
    background-image: url('data1/建筑.png');
    background-size: 24px 24px;
    content: '';
    vertical-align: middle;
    margin-right: 7px;
}

.building-unitName {
    font-size: 14px;
    line-height: 35px;
    color: #777;
    border-top: 1px solid #bbb;
}

.unit-container {
    max-height: 140px;
    overflow: auto;
    margin-bottom: 10px;
}

.unit {
    display: inline-block;
    width: 74px;
    margin-bottom: 12px;
}

.unit img {
    display: inline-block;
    margin: auto;
    vertical-align: top;
    height: 60px
}

.unit p {
    font-size: 8px;
    margin:0;
}

.noimg {
    display: inline-block;
    width: 60px;
    height: 60px;
    background-color: #ccc;
    font-size: 6px;
    text-align: center;
    line-height: 60px;
}

.noimg-big {
    display: inline-block;
    width: 200px;
    height: 200px;
    background-color: #ccc;
    font-size: 14px;
    text-align: center;
    line-height: 200px;
}

.unit-name {
    font-size: 14px;
    line-height: 30px;
    color: #444;
}

.unit-layer {
    font-size: 12px;
    line-height: 18px;
    color: #777;
}

.unit-homes {
    font-size: 12px;
    line-height: 18px;
    color: #777;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-list {
    position: absolute;
    z-index: 1;
    height: 100%;
}

.carousel-list img {
    float: left;
}

.carousel-buttons {
    position: absolute;
    /* left: 150px; */
    bottom: 20px;
    z-index: 2;
    height: 10px;
    width: 80px;
    text-align: center;
}

.carousel-buttons span {
    display: inline-block;
    margin-right: 5px;
    width: 7px;
    height: 7px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: transparent;
    /* cursor: pointer; */
}

.carousel-buttons .on {
    background: #06f;
}

.carousel-arrow {
    position: absolute;
    /* top: 180px; */
    z-index: 2;
    display: none;
    width: 20px;
    height: 20px;
    font-size: 20px;
    font-weight: bold;
    line-height: 20px;
    text-align: center;
    color: #fff;
    background-color: RGBA(0, 0, 0, .3);
    cursor: pointer;
    padding-bottom: 3px;
}

.carousel-arrow:hover {
    background-color: RGBA(0, 0, 0, .7);
}

.carousel-container:hover .carousel-arrow {
    display: block;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.search-icon {
    display: block;
    position: absolute;
    top: 18px;
    right: 14px;
    height: 20px;
    width: 20px;
}

.popup-info {
    display: block;
    height: 10px;
    margin-top: -4px;
}